package com.movitech.mobile.cz.base.sys.bizvo;

import java.util.Date;

import com.movitech.mobile.cz.base.common.util.DateUtils;

import lombok.Data;

/**
 * 公告通知返回类
 * @author Jack.Gong
 * @since 2018-02-27
 *
 */
@Data
public class NoticeResponseVO {

	private String id;
	
	private Integer msgType;

	private String msgTypeDesc;
	
//	private String msgName;

	private String msgTitle;

	private String msgContent;
	
	private Date updateDate;
	
	private String updateDateAsStr;

	private Integer readFlag;

	private Date createDate;

	private String categoryName;

	private String companyName;

	private Integer jumpFlag;
	
	public String getUpdateDateAsStr(){
		if(updateDate != null){
			updateDateAsStr = DateUtils.format(updateDate, "YYYY-MM-dd");
		}
		return updateDateAsStr;
	}

}
